package com.example.design.c.observer.demo1;

/**
 * 具体目标
 */
public class ConcreteSubject extends Subject {
    /**
     * 通知观察者方法
     */
    @Override
    protected void notifyObservers() {
        for (Observer observer : observers) {
            observer.response();
        }
    }
}
